package com.accp.demo.pojo.sale;

import java.io.Serializable;


//销售出库单明细实体类
public class SaleOutStorageDetail implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5049245089221687606L;

	private String billNo;			//单据号码 外键（关联出库主表主键）			来自销售出库主表
	private Integer lineId;			//栏号		
	private String materialNo;		//物料编号 外键（关联物料主文件）			来自物料主文件表
	private Integer quantity;		//数量
	private Double oldPrice;		//折扣前单价
	private Double discount;		//折数
	private Double unitPrice;		//单价
	private Double amount;			//金额
	private Double taxRate;			//税率
	private Double tax;				//税额
	private Double taxAmount;		//含税金额
	private String itemRemark;		//分录备注
	private Integer isGift;			//赠品(1)是,(0)否		
	private Integer sourceType;		//来源单别(1)销售报价,(2)销售订单
	private String sourceOrder;		//来源单号
	
	//------------------------------------------------
	
	
	
	public Integer getLineId() {
		return lineId;
	}
	public String getBillNo() {
		return billNo;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}
	public void setLineId(Integer lineId) {
		this.lineId = lineId;
	}
	public String getMaterialNo() {
		return materialNo;
	}
	public void setMaterialNo(String materialNo) {
		this.materialNo = materialNo;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public Double getOldPrice() {
		return oldPrice;
	}
	public void setOldPrice(Double oldPrice) {
		this.oldPrice = oldPrice;
	}
	public Double getDiscount() {
		return discount;
	}
	public void setDiscount(Double discount) {
		this.discount = discount;
	}
	public Double getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public Double getTaxRate() {
		return taxRate;
	}
	public void setTaxRate(Double taxRate) {
		this.taxRate = taxRate;
	}
	public Double getTax() {
		return tax;
	}
	public void setTax(Double tax) {
		this.tax = tax;
	}
	public Double getTaxAmount() {
		return taxAmount;
	}
	public void setTaxAmount(Double taxAmount) {
		this.taxAmount = taxAmount;
	}
	public String getItemRemark() {
		return itemRemark;
	}
	public void setItemRemark(String itemRemark) {
		this.itemRemark = itemRemark;
	}
	public Integer getIsGift() {
		return isGift;
	}
	public void setIsGift(Integer isGift) {
		this.isGift = isGift;
	}
	public Integer getSourceType() {
		return sourceType;
	}
	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}
	public String getSourceOrder() {
		return sourceOrder;
	}
	public void setSourceOrder(String sourceOrder) {
		this.sourceOrder = sourceOrder;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "SaleOutStorageDetail [billNo=" + billNo + ", lineId=" + lineId + ", materialNo=" + materialNo
				+ ", quantity=" + quantity + ", oldPrice=" + oldPrice + ", discount=" + discount + ", unitPrice="
				+ unitPrice + ", amount=" + amount + ", taxRate=" + taxRate + ", tax=" + tax + ", taxAmount="
				+ taxAmount + ", itemRemark=" + itemRemark + ", isGift=" + isGift + ", sourceType=" + sourceType
				+ ", sourceOrder=" + sourceOrder + "]";
	}
	
	
	
	
}
